package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceMysteriousDropLog 神秘空投补发日志
type DanceMysteriousDropLog struct {
	Id                  int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"api的id"`
	ClientTranslationId int64          `json:"clientTranslationId" gorm:"column:client_translation_id;type:int;default:0;not null;comment:和客户端关联关系的id,这个字段不能通过管理后台改"`
	Name                string         `json:"name" gorm:"column:name;type:varchar(256);not null;default:'';comment: 特效名字"`
	Number              int64          `json:"number" gorm:"column:number;type:bigint;default:0;not null;comment:特效数量"` // 补的特效数量
	LeftSecOpenid       string         `json:"left_sec_openid" gorm:"column:left_sec_openid;type:varchar(256);not null;default:'';comment: 左边用户id"`
	LeftNickname        string         `json:"left_nickname" gorm:"column:left_nickname;type:varchar(256);not null;default:'';comment: 左边用户昵称"`
	RightSecOpenid      string         `json:"right_sec_openid" gorm:"column:right_sec_openid;type:varchar(256);not null;default:'';comment: 右边用户id"`
	RightNickname       string         `json:"right_nickname" gorm:"column:right_nickname;type:varchar(256);not null;default:'';comment: 右边用户昵称"`
	Reviewer            string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"` // 审核人
	CreatedId           int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`  // 更新人id
	CreatedAt           time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt           time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt           gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
